package team.szm.scd.database.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.OrderBy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TopicReply {
    @TableId(value = "trid", type = IdType.ASSIGN_ID)
    String id;
    @TableField("tid")
    String topicId;
    @TableField("did")
    String doctorId;
    @OrderBy
    LocalDateTime createTime;
    String content;
}
